package org.etlt;

import java.io.File;
import java.io.IOException;

public class Constants {

    public static final String CONFIG_DIRECTORY;
    static {
        String path = "../unit.test";
        try {
            CONFIG_DIRECTORY=new File(path).getCanonicalPath();
            System.setProperty("job.inventory", CONFIG_DIRECTORY);
        } catch (IOException e) {
            throw new IllegalArgumentException(path + " not existed.");
        }
    }

}
